package com.ruoyi.system.domain.vo;


import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.domain.dto.json.UserInfo;
import lombok.Data;
import org.flowable.task.api.DelegationState;

import java.util.Date;

/**
 * @author LoveMyOrange
 * @create 2022-10-14 23:47
 */
@Data
//待办 需要返回给前端的VO
public class TaskVO {
    //任务id
    private String taskId;
    //任务名称
    private String taskName;
    //实例id
    private String processInstanceId;
    //审批类型
    private String processDefinitionName;
    //发起人
    private UserInfo startUser;
    private Date startTime;
    //任务到达时间
    private Date taskCreatedTime;
    //当前节点
    private String currentActivityName;
    //审批状态
    private String businessStatus;
    //结束时间
    private Date endTime;
    //耗时
    private String duration;
    //委派状态
    private DelegationState delegationState;
    //发起人(带icon)
    private SysUser users;
    //节点id//
    private String nodeId;
}
